home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / checkbox / plugins / intro_prompt.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  1.4 KB  |  19 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from gettext import gettext as _
  5. from checkbox.plugin import Plugin
  6.  
  7. class IntroPrompt(Plugin):
  8.     
  9.     def register(self, manager):
  10.         super(IntroPrompt, self).register(manager)
  11.         self._manager.reactor.call_on('prompt-begin', self.prompt_begin, 100)
  12.  
  13.     
  14.     def prompt_begin(self, interface):
  15.         interface.show_intro(_('Welcome to System Testing!'), _('This application will gather information from your system. Then, you will be asked manual tests to confirm that the system is working properly. Finally, you will be asked for the e-mail address you use to sign in to Launchpad in order to submit the information and your results.\n\nIf you do not have a Launchpad account, please register here:\n\n  https://launchpad.net/+login\n\nThank you for taking the time to test your system.'))
  16.  
  17.  
  18. factory = IntroPrompt
  19.